package com.woniuxy01;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

class Aaa{
    protected Object xxx(String str) {
        return null;
    }
}

class Bbb extends Aaa{
    public Object xxx(String str)  {
        try {
            DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
            Date date = df.parse(str);
            return date;
        } catch (ParseException e) {
            throw new RuntimeException(e);
        }
    }
}

public class Test05 {
}
